package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.SbjsglDao;
import io.renren.entity.SbjsglEntity;
import io.renren.service.SbjsglService;



@Service("sbjsglService")
public class SbjsglServiceImpl implements SbjsglService {
	@Autowired
	private SbjsglDao sbjsglDao;
	
	@Override
	public SbjsglEntity queryObject(Integer sbjsglId){
		return sbjsglDao.queryObject(sbjsglId);
	}
	
	@Override
	public List<SbjsglEntity> queryList(Map<String, Object> map){
		return sbjsglDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return sbjsglDao.queryTotal(map);
	}
	
	@Override
	public void save(SbjsglEntity sbjsgl){
		sbjsglDao.save(sbjsgl);
	}

	@Override
	public void update(SbjsglEntity sbjsgl){
		sbjsglDao.update(sbjsgl);
	}
	
	@Override
	public void delete(Integer sbjsglId){
		sbjsglDao.delete(sbjsglId);
	}
	
	@Override
	public void deleteBatch(Integer[] sbjsglIds){
		sbjsglDao.deleteBatch(sbjsglIds);
	}
	
}
